package com.burukeyou.smartdi.proxyspi.spi;


import com.burukeyou.smartdi.proxyspi.factory.EnvironmentProxyFactory;

import java.lang.annotation.*;

/**
 * 是用来配置环境变量相关注入逻辑，如果想要自定义配置比如在数据库中可实现自己的ProxySPI注解
 */
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@ProxySPI(EnvironmentProxyFactory.class)
public @interface EnvironmentProxySPI {

    /**
     * spring environment attribute
     */
    String value();

}
